﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework;
using Krist_em_up.Characters;

namespace Krist_em_up.Item
{
    class bSpeed : Bonus
    {
        public bSpeed(Kristemup game,Vector2 position)
            : base (game,position)
        {
            textureAsset = "Item/bSpeed";
            LoadContent();
            rectangle = new Rectangle((int)position.X, (int)position.Y, texture.Width, texture.Height);
        }
        public override void applyEffect(Kris kris)
        {
            kris.Factor = 1.3f;
        }
        public override void endEffect(Kris kris)
        {
            kris.Factor = 1;
        }
    }
}
